<?php

function __autoload($className){
    $classFile = EWEI_SHOP_PLUGIN . 'express/core/' . $className . '.class.php';

    if (is_file($classFile)) {
        require_once( $classFile );
    }

    //trigger_error('No Search File : '. $classFile);
}

function getBackUrl(){
    return 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF'].'?'.$_SERVER['QUERY_STRING'];
}